package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (TzAirdropTaskConditions)表实体类
 *
 * @author makejava
 * @since 2023-05-22 18:29:22
 */
@Data
@TableName("tz_airdrop_task_conditions")
public class AirdropTaskConditions implements Serializable {
    @TableId(type = IdType.AUTO)
    @Schema(description = "条件主键")
    private Integer conditionsId;

    @Schema(description = "空投任务Id")
    private Long taskId;

    @Schema(description = "字段中文名 前端显示名称")
    private String fieldName;

    @Schema(description = "对应表中的字段名 查询表的字段名")
    private String fieldCode;

    @Schema(description = "参数值 查询字段的参数值")
    private String fieldValue;

    @Schema(description = "条件 1大于等于 2大于 3等于 4小于等于 5小于")
    private Long cond;

    @Schema(description = "逻辑运算 1 and且 2 or或 配置两条及以上的条件的逻辑关系")
    private Integer logicalOperation;

    @Schema(description = "持有商品Id")
    private Long prodId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改时间")
    private Date updateTime;
}

